package com.lh.log.log4j;

import com.lh.log.log4j.interfaces.Log;

/**
 ************************************************
 ** Module : 测试LOG类
 ** Date: 2013-3-11  Time: 下午03:38:10 
 ** Author lh 
 ************************************************ 
 */
public class TestLogger {
	
	public static void main(String[] args) {
		Log log = new LoggerImpl(TestLogger.class);
		log.debug("i am log debug");
		log.info("i am log info");
		try {
			double error = (2/0);
		} catch (Exception e) {
			log.debug("error", e);
		}

	}

}
